//
//  SFAEditAlarmViewControllerViewController.h
//  AlarmClock
//
//  Created by Fedor Skrynnikov on 9/14/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SFAEditAlarmViewController : UIViewController<UIPickerViewDataSource, UIPickerViewDelegate, UIActionSheetDelegate>{
    @private NSArray *_recurence;
    @private BOOL keyboardIsSown;
    @private CGPoint offset;
    @private UITapGestureRecognizer* tap;
}

@property (strong, nonatomic) IBOutlet UITextField *name;
@property (strong, nonatomic) IBOutlet UITableViewCell* dateTableCell;
@property (strong, nonatomic) IBOutlet UIDatePicker *datePicker;
@property (strong, nonatomic) IBOutlet UIPickerView *recurencePicker;
@property (strong, nonatomic) IBOutlet UIScrollView *scrollView;
@property (strong, nonatomic) IBOutlet UITextField *note;
@property (strong, nonatomic) IBOutlet UIButton* addImageButton;

@property (strong, nonatomic) UITextField* activeField;
@property (strong, nonatomic) NSDictionary* initData;

- (IBAction)saveButtonPressed;
- (IBAction)resetButtonPressed;
- (IBAction)addImageButtonPressed;
- (IBAction)doneButtonePressed:(id)sender;
- (IBAction)textFieldDidBeginEditing:(UITextField*)textField;
- (IBAction)textFieldDidEndEditing:(UITextField*)textField;

@end
